home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / rbbs_pc / rbbsdocs.zip / RBBSDOCS.APQ < prev    next >
Text File  |  1990-11-05  |  6KB  |  114 lines

  1.  
  2.  
  3.  
  4.     APPENDIX Q -- RBBS-PC and the IBM PCjr                                  Q-1
  5.  
  6.  
  7.     APPENDIX Q -- RBBS-PC and the IBM PCjr
  8.     --------------------------------------
  9.     RBBS-PC adheres to the Hayes standards for autoanswer applications that are
  10.     described in Section 9,  "Writing Programs for the Smartmodem 1200," of the
  11.     SMARTMODEM  1200  HARDWARE REFERENCE  MANUAL.   Under the  section entitled
  12.     "Additional  Program  Considerations"   Hayes  recommends  that  autoanswer
  13.     applications (like  RBBS-PC) "... force the modem  to answer the call (ATA)
  14.     rather than allowing  the modem  to automatically answer...."     Beginning
  15.     with 13.1A, RBBS-PC no longer REQUIRES  the Ring Indicator signal from  the
  16.     modem (pin 22)  in order to answer  the phone (except  if parameter 224  of
  17.     CONFIG is non-zero).
  18.  
  19.     Here are some facts about the PCjr:
  20.  
  21.       1) The PCjr's external  modem interface  does not have  a Ring  Indicator
  22.          signal.
  23.       2) The  PCjr requires  that an  external modem  be opened  as COM1  if no
  24.          internal modem is installed.  However, if no internal modem exists the
  25.          PCjr requires that the  COM2 RS-232 registers be used  even though the
  26.          port has been opened as COM1.  Technically this is  described as using
  27.          the external  RS-232 asynchronous adapter  as logical channel  1 (i.e.
  28.          COM1) but manipulating  it as physical  channel 2  (i.e. COM2).   This
  29.          occurs on a PCjr only  when an internal   modem is NOT present and the
  30.          external RS-232 interface is.
  31.       3) The 128K PCjr only  provides 90K of  usable RAM (the  rest is used  by
  32.          DOS, the monitor's buffers, etc.).  Fortunately PCjr owners can get up
  33.          to 512K of RAM with "add-on"  equipment (from IBM and others) in order
  34.          to have enough RAM for RBBS-PC to run in.
  35.       4) The standard PCjr supplied by IBM does not have  a DMA and hence can't
  36.          do communications I/O simultaneously while doing disk I/O.
  37.  
  38.     RBBS-PC beginning  with version 13.1A will  run an IBM PCjr  providing that
  39.     the PCjr
  40.  
  41.       1) Has at least 320K of memory.
  42.       2) Disk I/O does  not occur simultaneously with  communications I/O (i.e.
  43.          either you have a second disk drive with a DMA or you set BUFFERS=0).
  44.       3) One of the following three modem configurations are used:
  45.        - An internal PCjr modem with an external Hayes modem where the external
  46.          Hayes modem is used for RBBS-PC.
  47.        - No internal PCjr modem with an external Hayes modem used for RBBS-PC.
  48.        - Only an internal PCjr modem and it is used for RBBS-PC.
  49.  
  50.     The following discusses  each of these three modem configurations supported
  51.     by RBBS-PC with the PCjr.
  52.  
  53.     Internal PCjr Modem with RBBS-PC Using External Hayes Modem
  54.     -----------------------------------------------------------
  55.     This configuration means that the  PCjr has both a COM1 (the  internal PCjr
  56.     modem)  and a COM2  (the external Hayes modem).   RBBS-PC is  set up to use
  57.     COM2.   No  changes  are required  to for  RBBS-PC  for this  type of  PCjr
  58.     configuration.  CONFIG parameter  224 should be set to 0.   This will cause
  59.     RBBS-PC to set the external Hayes modem into "auto-answer" mode and RBBS-PC
  60.     will  wait for carrier detect.  This  is the way that RBBS-PC overcomes the
  61.     PCjr's  lack of  "ring-indicator"  signal for  the external  communications
  62.     port.
  63.  
  64.  
  65.  
  66.     RBBS-PC 17.3A            TECHNICAL REFERENCE MANUAL                     Q-2
  67.  
  68.  
  69.     No Internal PCjr Modem With RBBS-PC Using External Hayes Modem
  70.     --------------------------------------------------------------
  71.     This configuration means that the PCjr has only one RS-232 interface -- the
  72.     external Hayes modem.  This must be opened as COM1 but use COM2's registers
  73.     to control  the communications port (believe  it or not that's  the way IBM
  74.     designed the PCjr).
  75.  
  76.     CONFIG parameter 221 should be used to indicate that COM1 is being used.
  77.  
  78.     Unfortunately  the  current  BASIC  compilers  (both  IBM's Version  2  and
  79.     Microsoft's QuickBASIC)  are incapable of handling a  communication port as
  80.     logical device 1 (i.e. COM1) but on physical channel 2 (i.e. the interrupts
  81.     are for COM2).
  82.  
  83.     Should this ever  be fixed by either IBM or  Microsoft, CONFIG parameter 29
  84.     should be used to indicate that no internal PCjr  modem is installed.  This
  85.     tells CONFIG  to make sure that  COM2 registers are used  to manipulate the
  86.     PCjr's external communications port.
  87.  
  88.     Until this is fixed by the  respective vendors, the PCjr user will have  to
  89.     run a  utility like COMSWAP  that exchanges  the pointers between  COM1 and
  90.     COM2 within DOS.
  91.  
  92.     In either case, CONFIG parameter 224 should  be set to 0.  This will  cause
  93.     RBBS-PC to set the external Hayes modem into "auto-answer" mode and RBBS-PC
  94.     will wait for carrier  detect.  This is the way  that RBBS-PC overcomes the
  95.     PCjr's  lack of  "ring-indicator"  signal for  the external  communications
  96.     port.   Again  no changes  to RBBS-PC  are required  for this type  of PCjr
  97.     configuration.
  98.  
  99.     Only An Internal PCjr Modem for RBBS-PC and NO External Hayes Modem
  100.     -------------------------------------------------------------------
  101.     For  this  type of  PCjr  configuration, you  can take  the  CONFIG default
  102.     settings  for the  communications  port (COM1)  and  specify that  you  are
  103.     running on a PCjr (parameter 29).  However, make sure that CONFIG parameter
  104.     228 specifies that the modem is to be opened at 300 baud.  Of course, RBBS-
  105.     PC  will be  only able  to answer the  telephone at  300 baud  and send and
  106.     receive data from users who log on with their communications parameters set
  107.     at N/8/1 (i.e. no parity, eight data  bits, and one stop bit) since RBBS-PC
  108.     is limited by the PCjr's own modem's limitations.
  109.  
  110.     RBBS-PC already has the modem commands for the PCjr's very strange internal
  111.     modem in the logic to answer the phone  so no changes to the .DEF file  are
  112.     required.
  113.  
  114.